package com.tencent.mapper;

import org.apache.ibatis.annotations.Select;

public interface ShowPeo {


    /**
     * 今日预约人数
     */
    @Select("select count(*) from t_order where to_days(orderDate)= to_days(now())")
    int  showpeo1();
    /**
     * 预约总人数
     * @return
     */
    @Select("select count(*) from t_order")
        int  showpeo2();
    /**
     * 今日新增注册人数
     */
    @Select("select count(*) from t_member where to_days(regTime)= to_days(now())")
    int showpeo3();

    /**
     * 会员总数
     * @return
     */
    @Select("select count(*) from t_member")
    int  showpeo4();
}
